from google.appengine.ext import db


class Article(db.Model):
    title = db.StringProperty(required=True)
    slug = db.StringProperty(required=True)
    content = db.TextProperty(required=True)
    is_published = db.BooleanProperty(default=True)
    created_at=db.DateTimeProperty(auto_now_add=True)
    updated_at=db.DateTimeProperty(auto_now=True)
